\documentclass{article}

\usepackage{gmverb}

\begin{document}

This is a test. This needs xelatex, it will not work in pdflatex.

\verb!test!

\verb!This should be in verbatim and the long line should be split properly, unlke with the stock verbatim functionality!

\end{document}
